repo: Bump lock timeout to 5 minutes
authorColin Walters <walters@verbum.org>
Thu, 17 Aug 2023 12:26:29 +0000 (08:26 -0400)
committerColin Walters <walters@verbum.org>
Thu, 17 Aug 2023 12:28:16 +0000 (08:28 -0400)
commite88ec69eefa1e53ae7d660cb7be3c5a399ec4a22
tree208f035725d3ccbf66440f5f0d8d9f38949c5439
parent55121cc4df5cc713bbc1891b6046181374575cac
repo: Bump lock timeout to 5 minutes

And update the doc text to talk about having a timeout at all
by default being a mistake.

Timeouts are really best handled at a higher level; if two processes
are contending for the ostree lock and one is actually frozen,
resolving this is something an admin may want to handle and introspect/debug
instead of having the waiter error out.

Most people using ostree are doing it in a way in which they have
higher level timeouts (e.g. on a container pod).
man/ostree.repo-config.xml
src/libostree/ostree-repo.c